<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="token-tag" prefix="t"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<jsp:include page="/common/commonCss.jsp"></jsp:include>
<jsp:include page="/common/commonJs.jsp"></jsp:include>
<script type="text/javascript"
	src="${basePath }commonJs/quinn_commons.js"></script>

<script type="text/javascript">
	$(document).ready(function() {
		initTab("form1", "tb1", "foot1", cb1);
	});

	function initTab(formId, tableId, footId, cb) {
		var form = $("#" + formId);
		var pagebean = new PageBean(form);
		pagebean.setCallback(cb);
		pagebean.setFootId(footId);
		pagebean.setTableId(tableId);
		setPagebeanObj(pagebean);
		pagebean.doPage();
	}

	function cb1(data) {
		if (data != null) {
			$
					.each(
							data,
							function(ind, obj) {

								obj = emptyJson(obj);
								var ptype = ""; //商品类型
								if (obj.orderType == "1") {
									ptype = "普通商品";
								} else if (obj.orderType == "2") {
									ptype = "单次票";
								} else if (obj.orderType == "3") {
									ptype = "会籍";
								} else if (obj.orderType == "4") {
									ptype = "充值";
								} else if (obj.orderType == "5") {
									ptype = "派对团体";
								} else if (obj.orderType == "6") {
									ptype = "购买课程";
								}

								var orderStatus = "";
								if (obj.orderStatus == "1") {
									if (obj.retFlag != "1") {
										orderStatus = "未付款";
									} else {
										orderStatus = "未退款";
									}
								} else if (obj.orderStatus == "2") {
									orderStatus = "已付款";
								} else if (obj.orderStatus == "3") {
									orderStatus = "预付";
								} else if (obj.orderStatus == "4") {
									orderStatus = "购物车";
								} else if (obj.orderStatus == "5") {
									orderStatus = "取消";
								} else if (obj.orderStatus == "6") {
									orderStatus = "已预付";
								} else if (obj.orderStatus == "7") {
									orderStatus = "草稿";
								}

								var htm = "<tr>";
								htm += "<td class=\"lv\"><a href=\"${basePath}order/detail2.shtml?id="
										+ obj.pkOrderId
										+ "\">"
										+ obj.pkOrderId
										+ "</a></td>";
								htm += "<td>" + ptype + "</td>";
								htm += "<td>" + obj.amount + "</td>";
								htm += "<td>-</td>";
								htm += "<td>" + obj.time + "</td>";
								htm += "<td>" + obj.cusName + "</td>";
								htm += "<td>" + obj.operator + "</td>";
								htm += "<td>" + orderStatus + "</td>";

								var linkHtm = "";
								if (obj.orderStatus == "1") {
									if (obj.retFlag != "1") {
										linkHtm = "<input type=\"button\" class=\"btn_l\" value=\"收款\" onClick=\"window.location.href='${basePath}payment/shouyin.shtml?orderId="
												+ obj.pkOrderId + "'\">";
									} else {
										linkHtm = "<input type=\"button\" class=\"btn_l\" value=\"退款\" onClick=\"window.location.href='${basePath}payment/refundMoney.shtml?orderId="
												+ obj.pkOrderId + "'\">";
									}
									linkHtm += "<input type=\"button\" value=\"取消\" class=\"btn_l ml10\" onclick=\"cancelOrder('"
											+ obj.pkOrderId + "',1)\">";
								} else if (obj.orderStatus == "2") {
									if (obj.orderType == "1"
											|| obj.orderType == "5")
										linkHtm = "<input type=\"button\" class=\"btn_l\" value=\"退货\" onClick=\"javascript:window.location.href='${basePath}order/refund.shtml?id="
												+ obj.pkOrderId + "'\">";
								} else if (obj.orderStatus == "3"
										|| obj.orderStatus == "6") {
									linkHtm += "<input type=\"button\" class=\"btn_l\" value=\"收款\" onClick=\"window.location.href='${basePath}payment/shouyin.shtml?orderId="
											+ obj.pkOrderId + "'\">";
								} else if (obj.orderStatus == "4") {
									linkHtm = "<input type=\"button\" onclick=\"window.location.href='${basePath}payment/shouyin.shtml?orderId="
											+ obj.pkOrderId
											+ "'\" value=\"收款\" class=\"btn_l\">";
									linkHtm += "<input type=\"button\" value=\"取消\" class=\"btn_l ml10\" onclick=\"cancelOrder('"
											+ obj.pkOrderId + "',1)\">";
								}
								htm += "<td>" + linkHtm + "</td>";
								htm += "</tr>";

								$("#tb1").find("tr:eq(" + ind + ")").after(htm);
							});
		}
	}
	function cb2(data) {
		if (data != null) {
			$
					.each(
							data,
							function(ind, obj) {
								obj = emptyJson(obj);
								var ptype = ""; //商品类型
								if (obj.orderType == "1") {
									ptype = "普通商品";
								} else if (obj.orderType == "2") {
									ptype = "单次票";
								} else if (obj.orderType == "3") {
									ptype = "会籍";
								} else if (obj.orderType == "4") {
									ptype = "充值";
								} else if (obj.orderType == "5") {
									ptype = "派对团体";
								} else if (obj.orderType == "6") {
									ptype = "购买课程";
								}

								var orderStatus = "";
								if (obj.orderStatus == "1") {
									orderStatus = "未付款";
								} else if (obj.orderStatus == "2") {
									orderStatus = "已付款";
								} else if (obj.orderStatus == "3") {
									orderStatus = "预付";
								} else if (obj.orderStatus == "4") {
									orderStatus = "购物车";
								} else if (obj.orderStatus == "5") {
									orderStatus = "取消";
								} else if (obj.orderStatus == "6") {
									orderStatus = "已预付";
								} else if (obj.orderStatus == "7") {
									orderStatus = "草稿";
								}

								var htm = "<tr>";
								htm += "<td class=\"lv\"><a href=\"${basePath}order/detail2.shtml?id="
										+ obj.pkOrderId
										+ "\">"
										+ obj.pkOrderId
										+ "</a></td>";
								htm += "<td>" + ptype + "</td>";
								htm += "<td>" + obj.amount + "</td>";
								htm += "<td>" + obj.payMethod + "</td>";
								htm += "<td>" + obj.time2 + "</td>";
								htm += "<td>" + obj.cusName + "</td>";
								htm += "<td>" + obj.operator + "</td>";
								htm += "<td>" + orderStatus + "</td>";

								var linkHtm = "";
								if (obj.orderStatus == "1") {
									linkHtm = "<input type=\"button\" class=\"btn_l\" value=\"收款\" onClick=\"window.location.href='${basePath}payment/shouyin.shtml?orderId="
											+ obj.pkOrderId + "'\">";
									linkHtm += "<input type=\"button\" value=\"取消\" class=\"btn_l ml10\" onclick=\"cancelOrder('"
											+ obj.pkOrderId + "',2)\">";
								} else if (obj.orderStatus == "2") {
									if (obj.orderType == "1")
										linkHtm = "<input type=\"button\" class=\"btn_l\" value=\"退货\" onClick=\"javascript:window.location.href='${basePath}order/refund.shtml?id="
												+ obj.pkOrderId + "'\">";
								} else if (obj.orderStatus == "3"
										|| obj.orderStatus == "6") {
									linkHtm += "<input type=\"button\" class=\"btn_l\" value=\"收款\" onClick=\"window.location.href='${basePath}payment/shouyin.shtml?orderId="
											+ obj.pkOrderId + "'\">";
								} else if (obj.orderStatus == "4") {
									linkHtm = "<input type=\"button\" onclick=\"window.location.href='${basePath}payment/shouyin.shtml?orderId="
											+ obj.pkOrderId
											+ "'\" value=\"收款\" class=\"btn_l\">";
									linkHtm += "<input type=\"button\" value=\"取消\" class=\"btn_l ml10\" onclick=\"cancelOrder('"
											+ obj.pkOrderId + "',2)\">";
								}
								htm += "<td>" + linkHtm + "</td>";
								htm += "</tr>";

								$("#tb2").find("tr:eq(" + ind + ")").after(htm);
							});
		}
	}
	function cb3(data) {
		if (data != null) {
			$
					.each(
							data,
							function(ind, obj) {
								obj = emptyJson(obj);
								var ptype = ""; //商品类型
								if (obj.orderType == "1") {
									ptype = "普通商品";
								} else if (obj.orderType == "2") {
									ptype = "单次票";
								} else if (obj.orderType == "3") {
									ptype = "会籍";
								} else if (obj.orderType == "4") {
									ptype = "充值";
								} else if (obj.orderType == "5") {
									ptype = "派对团体";
								} else if (obj.orderType == "6") {
									ptype = "购买课程";
								}

								var orderStatus = "";
								if (obj.orderStatus == "1") {
									orderStatus = "未付款";
								} else if (obj.orderStatus == "2") {
									orderStatus = "已付款";
								} else if (obj.orderStatus == "3") {
									orderStatus = "预付";
								} else if (obj.orderStatus == "4") {
									orderStatus = "购物车";
								} else if (obj.orderStatus == "5") {
									orderStatus = "取消";
								} else if (obj.orderStatus == "6") {
									orderStatus = "已预付";
								} else if (obj.orderStatus == "7") {
									orderStatus = "草稿";
								}

								var htm = "<tr>";
								htm += "<td class=\"lv\"><a href=\"${basePath}order/detail2.shtml?id="
										+ obj.pkOrderId
										+ "\">"
										+ obj.pkOrderId
										+ "</a></td>";
								htm += "<td>" + ptype + "</td>";
								htm += "<td>" + obj.amount + "</td>";
								htm += "<td>" + obj.payMethod + "</td>";
								htm += "<td>" + obj.time + "</td>";
								htm += "<td>" + obj.cusName + "</td>";
								htm += "<td>" + obj.operator + "</td>";
								htm += "<td>" + orderStatus + "</td>";

								var linkHtm = "";
								if (obj.orderStatus == "1") {
									linkHtm = "<input type=\"button\" class=\"btn_l \" value=\"收款\" onClick=\"window.location.href='${basePath}payment/shouyin.shtml?orderId="
											+ obj.pkOrderId + "'\">";
									linkHtm += "<input type=\"button\" value=\"取消\" class=\"btn_l ml10\" onclick=\"cancelOrder('"
											+ obj.pkOrderId + "',3)\">";
								} else if (obj.orderStatus == "2") {
									if (obj.orderType == "1")
										linkHtm = "<input type=\"button\" class=\"btn_l\" value=\"退货\" onClick=\"javascript:window.location.href='${basePath}order/refund.shtml?id="
												+ obj.pkOrderId + "'\">";
								} else if (obj.orderStatus == "3"
										|| obj.orderStatus == "6") {
									linkHtm += "<input type=\"button\" class=\"btn_l\" value=\"收款\" onClick=\"window.location.href='${basePath}payment/shouyin.shtml?orderId="
											+ obj.pkOrderId + "'\">";
								} else if (obj.orderStatus == "4") {
									linkHtm = "<input type=\"button\" onclick=\"window.location.href='${basePath}payment/shouyin.shtml?orderId="
											+ obj.pkOrderId
											+ "'\" value=\"收款\" class=\"btn_l\">";
									linkHtm += "<input type=\"button\" value=\"取消\" class=\"btn_l ml10\" onclick=\"cancelOrder('"
											+ obj.pkOrderId + "',3)\">";
								}
								htm += "<td>" + linkHtm + "</td>";
								htm += "</tr>";

								$("#tb3").find("tr:eq(" + ind + ")").after(htm);
							});
		}
	}
	function cb4(data) {
		if (data != null) {
			$
					.each(
							data,
							function(ind, obj) {
								obj = emptyJson(obj);
								var ptype = ""; //商品类型
								if (obj.orderType == "1") {
									ptype = "普通商品";
								} else if (obj.orderType == "2") {
									ptype = "单次票";
								} else if (obj.orderType == "3") {
									ptype = "会籍";
								} else if (obj.orderType == "4") {
									ptype = "充值";
								} else if (obj.orderType == "5") {
									ptype = "派对团体";
								} else if (obj.orderType == "6") {
									ptype = "购买课程";
								}

								var payMethod = "";

								if (obj.payMethod == "1") {
									payMethod = "现金";
								} else if (obj.payMethod == "2") {
									payMethod = "储值消费";
								} else if (obj.payMethod == "3") {
									payMethod = "银行卡";
								}

								var orderStatus = "";
								if (obj.orderStatus == "1") {
									orderStatus = "未付款";
								} else if (obj.orderStatus == "2") {
									orderStatus = "已付款";
								} else if (obj.orderStatus == "3") {
									orderStatus = "预付";
								} else if (obj.orderStatus == "4") {
									orderStatus = "购物车";
								} else if (obj.orderStatus == "5") {
									orderStatus = "取消";
								} else if (obj.orderStatus == "6") {
									orderStatus = "已预付";
								} else if (obj.orderStatus == "7") {
									orderStatus = "草稿";
								}

								var htm = "<tr>";
								htm += "<td class=\"lv\"><a href=\"${basePath}order/detail2.shtml?id="
										+ obj.pkOrderId
										+ "\">"
										+ obj.pkOrderId
										+ "</a></td>";
								htm += "<td>" + ptype + "</td>";
								htm += "<td>" + obj.amount + "</td>";
								htm += "<td>" + payMethod + "</td>";
								htm += "<td>" + obj.time + "</td>";
								htm += "<td>" + obj.cusName + "</td>";
								htm += "<td>" + obj.operator + "</td>";
								htm += "<td>" + orderStatus + "</td>";

								var linkHtm = "";
								if (obj.orderStatus == "1") {
									linkHtm = "<input type=\"button\" class=\"btn_l \" value=\"收款\" onClick=\"window.location.href='${basePath}payment/shouyin.shtml?orderId="
											+ obj.pkOrderId + "'\">";
									linkHtm += "<input type=\"button\" value=\"取消\" class=\"btn_l ml10\" onclick=\"cancelOrder('"
											+ obj.pkOrderId + "',4)\">";
								} else if (obj.orderStatus == "2") {
									if (obj.orderType == "1")
										linkHtm = "<input type=\"button\" class=\"btn_l\" value=\"退货\" onClick=\"javascript:window.location.href='${basePath}order/refund.shtml?id="
												+ obj.pkOrderId + "'\">";
								} else if (obj.orderStatus == "3"
										|| obj.orderStatus == "6") {
									linkHtm += "<input type=\"button\" class=\"btn_l \" value=\"收款\" onClick=\"window.location.href='${basePath}payment/shouyin.shtml?orderId="
											+ obj.pkOrderId + "'\">";
								} else if (obj.orderStatus == "4") {
									linkHtm = "<input type=\"button\" onclick=\"window.location.href='${basePath}payment/shouyin.shtml?orderId="
											+ obj.pkOrderId
											+ "'\" value=\"收款\" class=\"btn_l\">";
									linkHtm += "<input type=\"button\" value=\"取消\" class=\"btn_l ml10\" onclick=\"cancelOrder('"
											+ obj.pkOrderId + "',4)\">";
								}
								htm += "<td>" + linkHtm + "</td>";
								htm += "</tr>";

								$("#tb4").find("tr:eq(" + ind + ")").after(htm);
							});
		}
	}
	function cb5(data) {
		if (data != null) {
			$
					.each(
							data,
							function(ind, obj) {
								obj = emptyJson(obj);
								var ptype = ""; //商品类型
								if (obj.orderType == "1") {
									ptype = "普通商品";
								} else if (obj.orderType == "2") {
									ptype = "单次票";
								} else if (obj.orderType == "3") {
									ptype = "会籍";
								} else if (obj.orderType == "4") {
									ptype = "充值";
								} else if (obj.orderType == "5") {
									ptype = "派对团体";
								} else if (obj.orderType == "6") {
									ptype = "购买课程";
								}

								var orderStatus = "";
								if (obj.orderStatus == "1") {
									orderStatus = "未付款";
								} else if (obj.orderStatus == "2") {
									orderStatus = "已付款";
								} else if (obj.orderStatus == "3") {
									orderStatus = "预付";
								} else if (obj.orderStatus == "4") {
									orderStatus = "购物车";
								} else if (obj.orderStatus == "5") {
									orderStatus = "取消";
								} else if (obj.orderStatus == "6") {
									orderStatus = "已预付";
								} else if (obj.orderStatus == "7") {
									orderStatus = "草稿";
								}

								var htm = "<tr>";
								htm += "<td class=\"lv\"><a href=\"${basePath}order/detail2.shtml?id="
										+ obj.pkOrderId
										+ "\">"
										+ obj.pkOrderId
										+ "</a></td>";
								htm += "<td>" + ptype + "</td>";
								htm += "<td>" + obj.amount + "</td>";
								htm += "<td>" + obj.payMethod + "</td>";
								htm += "<td>" + obj.time + "</td>";
								htm += "<td>" + obj.cusName + "</td>";
								htm += "<td>" + obj.operator + "</td>";
								htm += "<td>" + orderStatus + "</td>";

								var linkHtm = "";
								if (obj.orderStatus == "1") {
									linkHtm = "<input type=\"button\" class=\"btn_l \" value=\"收款\" onClick=\"window.location.href='${basePath}payment/shouyin.shtml?orderId="
											+ obj.pkOrderId + "'\">";
									linkHtm += "<input type=\"button\" value=\"取消\" class=\"btn_l ml10\" onclick=\"cancelOrder('"
											+ obj.pkOrderId + "',4)\">";
								} else if (obj.orderStatus == "2") {
									if (obj.orderType == "1")
										linkHtm = "<input type=\"button\" class=\"btn_l\" value=\"退货\" onClick=\"javascript:window.location.href='${basePath}order/refund.shtml?id="
												+ obj.pkOrderId + "'\">";
								} else if (obj.orderStatus == "3"
										|| obj.orderStatus == "6") {
									linkHtm += "<input type=\"button\" class=\"btn_l \" value=\"收款\" onClick=\"window.location.href='${basePath}payment/shouyin.shtml?orderId="
											+ obj.pkOrderId + "'\">";
								} else if (obj.orderStatus == "4") {
									linkHtm = "<input type=\"button\" onclick=\"window.location.href='${basePath}payment/shouyin.shtml?orderId="
											+ obj.pkOrderId
											+ "'\" value=\"收款\" class=\"btn_l\">";
									linkHtm += "<input type=\"button\" value=\"取消\" class=\"btn_l ml10\" onclick=\"cancelOrder('"
											+ obj.pkOrderId + "',4)\">";
								}
								htm += "<td>" + linkHtm + "</td>";
								htm += "</tr>";

								$("#tb5").find("tr:eq(" + ind + ")").after(htm);
							});
		}
	}

	function cancelOrder(id, no) {
		$.messager.confirm("提示", "确认要取消吗?", function(d) {
			if (d) {
				$.ajax({
					url : "${basePath}order/cancelOrderAjax.shtml",
					type : "post",
					dataType : "json",
					data : {
						id : id
					},
					async : false,
					success : function(data) {
						if (data) {
							initTab("form" + no, "tb" + no, "foot" + no,
									eval("cb" + no));
						}
					},
					error : function(XMLHttpRequest) {
						ajaxError(XMLHttpRequest);
					}
				});
			}
		});
	}
</script>
</head>
<body class="bg">
	<div class="content m_auto">
		<div class="content_l mt10">
			<ul>
				<shiro:hasPermission name="payment/skmx.shtml">
					<li class="content_hover"><a
						href="${basePath }payment/skmx.shtml"><i class="nav_icon_k"></i><br>收款</a></li>
				</shiro:hasPermission>
				<shiro:hasPermission name="payment/symx.shtml">
					<li><a href="${basePath }payment/symx.shtml"><i
							class="nav_icon_l"></i><br>收银明细</a></li>
				</shiro:hasPermission>
			</ul>
		</div>
		<div class="content_r mt10">
			<div class="p20">
				<h1 class="f16">
					<input type="text" placeholder="搜索订单号" class="iput_t"><input
						type="button" class="btn ml10" value="搜 索">
				</h1>

				<form action="${basePath }payment/paginateOrder.shtml" method="post"
					id="form1">
					<input type="hidden" name="pageSize" value="10"> <input
						type="hidden" name="pageNo" value="1"> <input
						type="hidden" name="orderStatus" value="1">
				</form>

				<form action="${basePath }payment/paginateOrder.shtml" method="post"
					id="form2">
					<input type="hidden" name="pageSize" value="10"> <input
						type="hidden" name="pageNo" value="1"> <input
						type="hidden" name="orderStatus" value="2">
				</form>

				<form action="${basePath }payment/paginateOrder.shtml" method="post"
					id="form3">
					<input type="hidden" name="pageSize" value="10"> <input
						type="hidden" name="pageNo" value="1"> <input
						type="hidden" name="orderStatus" value="6">
				</form>

				<form action="${basePath }payment/paginateOrder.shtml" method="post"
					id="form4">
					<input type="hidden" name="pageSize" value="10"> <input
						type="hidden" name="pageNo" value="1"> <input
						type="hidden" name="orderStatus" value="3">
				</form>
				<form action="${basePath }payment/paginateOrder.shtml" method="post"
					id="form5">
					<input type="hidden" name="pageSize" value="10"> <input
						type="hidden" name="pageNo" value="1">
				</form>

				<div class="tab_normal mt10">
					<ul class=" fixed" id="tab_a">
						<li class="thistab_a" onclick="initTab('form1','tb1','foot1',cb1)">未结算</li>
						<li onclick="initTab('form2','tb2','foot2',cb2)"">已结算</li>
						<li onclick="initTab('form3','tb3','foot3',cb3)">派对团体未结算</li>
						<li onclick="initTab('form4','tb4','foot4',cb4)">派对团体未预付</li>
						<li onclick="initTab('form5','tb5','foot5',cb5)">全部</li>
					</ul>
					<ul class="fixed" id="tab_conbox_a">
						<li class="p10">
							<table class="table" id="tb1">
								<tr>
									<th>订单</th>
									<th>商品类型</th>
									<th>金额</th>
									<th>付款方式</th>
									<th>下单时间</th>
									<th>顾客信息</th>
									<th>操作员</th>
									<th>订单状态</th>
									<th>操作</th>
								</tr>

							</table>
							<div class="page fr m10" id="foot1"></div>
						</li>
						<li class="p10">
							<table class="table " id="tb2">
								<tr>
									<th>订单</th>
									<th>商品类型</th>
									<th>金额</th>
									<th>付款方式</th>
									<th>交易时间</th>
									<th>顾客信息</th>
									<th>操作员</th>
									<th>订单状态</th>
									<th>操作</th>
								</tr>
							</table>
							<div class="page fr m10" id="foot2">
								<span>第3/2000页</span> <span>首页</span> <span>上一页</span> <span><a
									href="#">下一页</a></span> <span><a href="#">末页</a></span> <span>跳转到<input
									type="text" class="black_text mlr5">页
								</span>
							</div>
						</li>
						<li class="p10">
							<table class="table " id="tb3">
								<tr>
									<th>订单</th>
									<th>商品类型</th>
									<th>金额</th>
									<th>付款方式</th>
									<th>交易时间</th>
									<th>顾客信息</th>
									<th>操作员</th>
									<th>订单状态</th>
									<th>操作</th>
								</tr>
							</table>
							<div class="page fr m10" id="foot3">
								<span>第3/2000页</span> <span>首页</span> <span>上一页</span> <span><a
									href="#">下一页</a></span> <span><a href="#">末页</a></span> <span>跳转到<input
									type="text" class="black_text mlr5">页
								</span>
							</div>
						</li>
						<li class="p10">
							<table class="table mt10" id="tb4">
								<tbody>
									<tr>
										<th>订单</th>
										<th>商品类型</th>
										<th>金额</th>
										<th>付款方式</th>
										<th>交易时间</th>
										<th>顾客信息</th>
										<th>操作员</th>
										<th>订单状态</th>
										<th>操作</th>
									</tr>
								</tbody>
							</table>
							<div class="page fr m10" id="foot4"></div>
						</li>
						<li class="p10">
							<table class="table mt10" id="tb5">
								<tbody>
									<tr>
										<th>订单</th>
										<th>商品类型</th>
										<th>金额</th>
										<th>付款方式</th>
										<th>交易时间</th>
										<th>顾客信息</th>
										<th>操作员</th>
										<th>订单状态</th>
										<th>操作</th>
									</tr>
								</tbody>
							</table>
							<div class="page fr m10" id="foot5"></div>
						</li>
					</ul>
				</div>

			</div>
		</div>
	</div>






	<!---弹出层--->
	<div id="e" class="easyui-window" title="特殊折扣设置"
		data-options="modal:true,closed:true,iconCls:'icon-save'"
		style="width: 500px; height: 300px; position: relative;">
		<div class="margin_auto w300 pt30">
			<ul class="ul_label f14">
				<li><label>折扣率：</label><input type="text" class="iput_t"></li>
				<li><label>经理密码：</label><input type="text" class="iput_t"></li>
			</ul>
		</div>
		<div class="btm_btn btm_bg">
			<dl>
				<dd>
					<input type="button" class="btn" onClick="javascript:alert('ok')"
						value="确定">
				</dd>
				<dd>
					<input type="button" class="btn" onClick="javascript:alert('ok')"
						value="取消">
				</dd>
			</dl>
		</div>
	</div>
	<!---弹出层--->












</body>
</html>